package com.bawei.search.api

import com.bawei.common.api.BaseApiServer
import com.bawei.common.entity.SimpleVideoEntity
import com.bawei.network.BaseResponse
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Author: Jason Zhang
 * Date: 2025/2/5
 * Desc: 搜索API
 */
interface SearchServerApi: BaseApiServer {

    //获取分类视频
    @GET("/videosimple/getSimpleVideoByKeyword")
    suspend fun getSimpleVideoByKeyword(@Query("keyword") channelId: String, @Query("page") page: Int, @Query("pagesize") pageSize: Int): BaseResponse<List<SimpleVideoEntity>>


}